<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh_CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>纸币信息</title>

</head>
<body>
	<div class="modal fade" id="cashDialog" role="dialog"
		aria-labelledby="productDialogLabel" aria-hidden="true">
		<form id="cashDetail" method="post" name="cashDetail">
			<div class="modal-dialog" tabindex="0">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal">
							<span aria-hidden="true">&times;</span> <span class="sr-only">Close</span>
						</button>
						<h4 class="modal-title" id="myModalLabel">纸币信息</h4>
						<input type="hidden" id="cashId" required name="id"
							value="${product.id}" />
					</div>
					<div class="modal-body">
						<div align="left">
							<div align="center">
								<!--选项卡-->
								<div class="container-fluid">
									<div class="row-fluid">
										<div class="span12">
											<div class="tabbable" id="tabs-234974">
												<ul class="nav nav-tabs">
													<li class="active"><a href="#baseInfor"
														data-toggle="tab">纸币信息</a></li>
												</ul>
												<div class="tab-content">
													<div class="tab-pane active" id="baseInfor">
														<table class="table table-bordered">
															<tr>

																<td style="text-align: right; width: 80px;">纸币编号:</td>
																<td style="width: 150px;"><input id="status" name="status" type="hidden" /><input style="width: 150px;" type="text"
																	id="cashCode" required name="cashCode"
																	value="${product.proCode}" readonly="readonly" /></td>
																<td style="text-align: right; width: 100px;">纸币面值:</td>
																<td><select id="caNum" name="num">
																		<c:forEach var="cashNum" items="${cashNums}">
																			<option value="${cashNum}">${cashNum}</option>
																		</c:forEach>
																</select></td>
															</tr>
															<tr>
																<td style="text-align: right; width: .300px;">纸币图片:</td>
																<td colspan="3"><input style="width: 200px;"
																	type="text" id="imgUrl" name="imgUrl" value="${product.grown}" />
																	<button id="selectBtn">选择文件</button>
																	<button id="uploadBtn">上传</button></td>
															</tr>
															<tr>
																<td style="text-align: center;" colspan="4"><img
																	id="previewCash" name="previewCash"
																	src="<%=request.getContextPath()%>/manage/assets/img/clear.png"
																	width="500" height="250" /></td>
															</tr>
															<tr>
																<td style="text-align: right; width:120px;" >
																纸币尾号含义:
																</td>
																<td style="text-align: center;" colspan="3">
																<input type="text" required id="description" name="description" style="width: 100%;"/>
																</td>
															</tr>

															<tr>
																<td style="text-align: right; width: 80px;">备注:</td>
																<td colspan="3"><textarea id="note" name="note"
																		rows="4" cols="10" style="width: 100%;"></textarea></td>
															</tr>
														</table>
													</div>

												</div>

											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div id="optBtn" class="modal-footer">
						<button id="saveBtn" type="button" class="btn btn-primary">保存</button>
						<button id="confirmBtn" type="button" class="btn btn-danger">确认</button>
						
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					</div>
				</div>

			</div>
		</form>
	</div>


</body>
</html>